package com.liang.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.liang.pojo.Gorillaceo;
import com.liang.pojo.Pingjia;

public interface PingjiaDao {
	List<Pingjia> selectAllPingjiaBySid(@Param("sid")int sid);
	int insertPingjia(Map<String,Object> map);
	int updatePingjiaByUid(Map<String,Object> map);
	//删除多选商品下的所有评价
	int deletePingjiaByList(Gorillaceo gorillaceo);
	int deletePingjiaByUser(Pingjia pingjia);
	int deletePingjiaBySidList(Gorillaceo gorillaceo);
}
